<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
	xmlns:ctg="http://www.crotouristguide.com/taglib"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
	<rich:panel styleClass="spotlight">
		<f:facet name="header">#{messages['label.spotlight']}: #{mjestoSpotlight.naziv}</f:facet>
		<h:panelGrid id="mjesto" columns="1" cellpadding="0" cellspacing="0">
			<h:panelGroup>
				<h:outputLink
					value="#{application.contextPath}/guides/mjesta/mjesto.seam">
					<f:param name="idMjesta" value="#{mjestoSpotlight.idMjesta}" />
					<f:param name="l" value="#{currentLang}" />
					<f:param name="title"
						value="#{titleAction.getUrlTitle(mjestoSpotlight)}" />

					<img alt="#{messages['label.image.alt']} #{mjestoSpotlight.naziv}"
						width="190" height="140"
						src="#{slikaAction.getPocSlikaPath(mjestoSpotlight,'m')}"> </img>
				</h:outputLink>
			</h:panelGroup>
			<h:panelGroup>
				<p><h:outputText
					value="#{stringUtil.substring(mjestoSpotlight.getOpis(currentLang).getOpis(),300)}..."
					escape="false" /> <h:outputLink
					value="#{application.contextPath}/guides/mjesta/mjesto.seam" styleClass="special2">
					<f:param name="idMjesta" value="#{mjestoSpotlight.idMjesta}" />
					<f:param name="l" value="#{currentLang}" />
					<f:param name="title"
						value="#{titleAction.getUrlTitle(mjestoSpotlight)}" />
						#{messages['label.link.more']}
					</h:outputLink></p>
			</h:panelGroup>
		</h:panelGrid>
	</rich:panel>
</ui:component>